function loadDistrict(province,district){
	var idProvince=$("#"+province).val();
	if(idProvince){
		$.ajax({
			url:'/api/load-district',
			data:{"idProvince":idProvince},
			type:"POST",
			success:function(data){
				$("#"+district).html(data);
			}
		});
	}
}
function addRouter(){
	var routes=Number($("#count_router").val());
	$("#btnAddRouter").button("loading");
	$.ajax({
		url:"/api/add-router",
		type:"POST",
		data:{"count":routes+1},
		success:function(html){
			$("#btnAddRouter").before(html);
			$("#count_router").val(routes+1);
			$("#btnAddRouter").button("reset");
		},
		error:function(data){
			$("#btnAddRouter").button("reset");
		}
	});
}